package net.mushystuff.dogalogue.daos.springhibernate;

import java.util.List;

import net.mushystuff.dogalogue.beans.Dog;
import net.mushystuff.dogalogue.daos.DogDAO;

class DogDAOImpl extends GenericHibernateDAO<Dog, String> implements DogDAO {

	public Dog getDog(String uuid) {
		return findById(uuid, false);
	}

	public List<Dog> getAllDogs() {
		return findAll();
	}

	public void saveDog(Dog dog) {
		makePersistent(dog);
	}

}
